// index.js
const app = getApp()

Page({
  data: {
    motto: 'Hello World',
    userInfo: {},
    hasUserInfo: false,
    canIUse: wx.canIUse('button.open-type.getUserInfo')
  },
 
  onLoad: function () {},
   //封面跳转至首页
switchToTabbar() {
  wx.switchTab({
    url: "/pages/home/home"
  })
}
})